package structures.xmltable;

public class ServiceRcOutTableTypeParameter extends ServiceTableTypeParameter {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7818870837967893550L;
	

	public ServiceRcOutTableTypeParameter() {
		super(false);
	}

	public ServiceRcOutTableTypeParameter(String name) {
		super(false);
		this.setBagKey(name);
		this.setYeni(false);
	}
	public ServiceRcOutTableTypeParameter(String name, String idValue, String dim) {
		super(false);
		this.setBagKey(name);
		this.setYeni(false);
		this.setDim(dim);
		setIdValue(idValue);
	}

	@Override
	public String getIdValue() {
		if(idValue == null || idValue.equals(""))
			return bagKey;
		return idValue;
	}

	@Override
	public void setIdValue(String idValue) {
		if(idValue == null || idValue.equals(""))
			this.idValue = bagKey;
		else
			this.idValue = idValue;
	}
	

}
